package cn.yunhe.dao;

import cn.yunhe.modle.Member;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/*Spring注解*/
@Repository(value = "memberDao")
public interface MemberDao {
    /**
     *多条件筛选
     * @param objectMap
     * @return
     */
    List<Member>searchByConditions(Map<String,Object>objectMap);

    /**
     *多条件筛选的总记录数(统计)
     * @param objectMap
     * @return
     */
    Integer searchByConditions2TotalRecords(Map<String,Object>objectMap);
}
